package com.zbh.uexam.repository;

import com.zbh.uexam.domain.UserToken;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserTokenMapper extends BaseMapper<UserToken> {
    @Override
    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(UserToken record);

    @Override
    int insertSelective(UserToken record);

    @Override
    UserToken selectByPrimaryKey(Integer id);

    @Override
    int updateByPrimaryKeySelective(UserToken record);

    @Override
    int updateByPrimaryKey(UserToken record);

    UserToken getToken(String token);
}
